package org.feng.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableName;
import org.feng.base.entity.BaseEntity;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * 用户表
 *
 * @author : FengShuai
 * @since : 2024/6/27 9:24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("sys_user")
@Schema(name = "用户表")
public class SysUser extends BaseEntity<SysUser> implements Serializable {
    private static final long serialVersionUID = 1L;
    /**
     * 用户名
     */
    @Schema(title = "用户名")
    private String username;
    @Schema(title = "头像")
    private String avatar;
    @Schema(title = "密码")
    private String password;
    @Schema(title = "真实姓名")
    private String name;
    @Schema(title = "手机号")
    private String phone;
    @Schema(title = "性别")
    private Integer sex;
    @Schema(title = "部门id")
    private String deptId;
    @Schema(title = "角色id")
    private String roleId;
    @Schema(title = "岗位id")
    private String jobId;
}
